package com.yiku.common;

/**
 * @author wangxiaodong
 * @date 2021/4/1
 * 静态常量
 */
public class DingConstant {

    public static final String CALLBACK_URL_HOST = "https://43183k8k05.wocp.fun";

    //----------------钉钉静态常量----------------------
    /**
     * 应用的AppKey，登录开发者后台，点击应用管理，进入应用详情可见
     */
    public static final String APPKEY = "ding1sroxgmv0bwscqew";
    public static final String APPSECRET = "BzvH-R94HGxKZwKfGwcIGVdrdwOq5A-lbwJBceZ47xhqOnah-4h38poMvOhCsWvJ";
    public static final String CustomKey = "";
    public static final String CustomSecret = "";
    public static final Integer APPLICATION_TYPE = 0;
//    public static final String APPKEY = "ding8uzbxdnvhk3kymmj";
    /**
     * 应用的AppSecret，登录开发者后台，点击应用管理，进入应用详情可见
     */

    /**
     * 数据加密密钥。用于回调数据的加密，长度固定为43个字符，从a-z, A-Z, 0-9共62个字符中选取,您可以随机生成
     */
    public static final String ENCODING_AES_KEY = "o5QPMYRuDiesO4ZIBQh4ukrYpJyjmbPnxhVbMwfJ7fN";

    /**
     * 加解密需要用到的token，企业可以随机填写。如 "12345"
     */
    public static final String TOKEN = "dingqaslhhxjebdmyir9";

    /**
     * 应用的agentdId，登录开发者后台可查看
     */
    public static final Long AGENTID = 3326264002L;

    /**
     * 审批模板唯一标识，可以在审批管理后台找到
     */
    public static final String PROCESS_CODE = "PROC-4DE9E535-D674-4EF6-BEC8-BE7B2E12ABAD";

    /**
     * 根部门id
     */
    public static final String PARENT_DEPT_ID="1";


    //-------------钉钉回调事件--------------

    /**
     * 审批任务回调
     */
    public static final String BPMS_TASK_CHANGE = "bpms_task_change";

    /**
     * 审批实例回调
     */
    public static final String BPMS_INSTANCE_CHANGE = "bpms_instance_change";

    /**
     * 用户添加回调
     */
    public static final String USER_ADD_ORG = "user_add_org";
    /**
     * 用户修改回调
     */
    public static final String USER_MODIFY_ORG = "user_modify_org";
    /**
     * 用户离职回调
     */
    public static final String USER_LEAVE_ORG = "user_leave_org";
    /**
     * 部门新增回调
     */
    public static final String ORG_DEPT_CREATE = "org_dept_create";
    /**
     * 部门修改回调
     */
    public static final String ORG_DEPT_MODIFY = "org_dept_modify";
    /**
     * 部门删除回调
     */
    public static final String ORG_DEPT_REMOVE = "org_dept_remove";
    /**
     * 用户角色修改回调
     */
    public static final String LABEL_USER_CHANGE = "label_user_change";

    /**
     * 审批模板唯一标识，可以在审批管理后台找到
     */


    public static final String CORP_ID = "ding6df94152051a76c735c2f4657eb6378f";
}
